]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
popupMenu: Rename _arrow_rotation to follow JS covention
authorCarlos Soriano <carlos.soriano89@gmail.com>
Wed, 19 Feb 2014 11:35:59 +0000 (12:35 +0100)
committerCarlos Soriano <carlos.soriano89@gmail.com>
Wed, 19 Feb 2014 12:44:26 +0000 (13:44 +0100)
js/ui/popupMenu.js

index bec38a03e61f645c7dfb1d17d0e06ccf1298721f..dc3a9f96b1446e6a5c16039249d6e7b2663e7e81 100644 (file)
@@ -872,14 +872,14 @@ const PopupSubMenu = new Lang.Class({
         if (animate) {
             let [minHeight, naturalHeight] = this.actor.get_preferred_height(-1);
             this.actor.height = 0;
-            this.actor._arrow_rotation = this._arrow.rotation_angle_z;
+            this.actor._arrowRotation = this._arrow.rotation_angle_z;
             Tweener.addTween(this.actor,
-                             { _arrow_rotation: 90,
+                             { _arrowRotation: 90,
                                height: naturalHeight,
                                time: 0.25,
                                onUpdateScope: this,
                                onUpdate: function() {
-                                   this._arrow.rotation_angle_z = this.actor._arrow_rotation;
+                                   this._arrow.rotation_angle_z = this.actor._arrowRotation;
                                },
                                onCompleteScope: this,
                                onComplete: function() {
@@ -905,14 +905,14 @@ const PopupSubMenu = new Lang.Class({
             animate = false;
 
         if (animate) {
-            this.actor._arrow_rotation = this._arrow.rotation_angle_z;
+            this.actor._arrowRotation = this._arrow.rotation_angle_z;
             Tweener.addTween(this.actor,
-                             { _arrow_rotation: 0,
+                             { _arrowRotation: 0,
                                height: 0,
                                time: 0.25,
                                onUpdateScope: this,
                                onUpdate: function() {
-                                   this._arrow.rotation_angle_z = this.actor._arrow_rotation;
+                                   this._arrow.rotation_angle_z = this.actor._arrowRotation;
                                },
                                onCompleteScope: this,
                                onComplete: function() {